package manager.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(url = "https://ch.jd.com/",name="shopIndexHomePro")
public interface ShopIndexHomeProThirdService {
    /**
     * 获取排行榜数据分类
     */
    @RequestMapping(value = "/homecate2?source=pc&source=pc&callback=jsonpTopCate&_=1620535066792")
    String getHomecate2();

    /**
     * 根据分类获取排行榜数据
     * @return
     */
    @RequestMapping(value = "/homepro?source=pc&cateid=9860&source=pc&callback=jsonpTopRank3&_=1620498022018")
    String getHomepro(@RequestParam("cateid") String cateid);

}
